﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using Acms.AcmsControls;

public partial class Templates_DefaultMaster : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (!IsPostBack)
            {
                StringBuilder flashSpinUrl = new StringBuilder();
                flashSpinUrl.Append("http://");
                flashSpinUrl.Append(Request.ServerVariables["Server_Name"]);
                flashSpinUrl.Append(ResolveUrl("~/../Issues.aspx?Validated=true"));
                flashSpin.Variables.Add("LinkUrl", flashSpinUrl.ToString());

                flashButton.Variables.Add("FunctionName", "flashButtonClick()");
            }
            DataBind();
        }

    }


    private TemplatePage AcmsPage
    {
        get
        {
            return Page as TemplatePage;
        }
    }


    public override void DataBind()
    {
        //adminControl.DataBind();
    }
}
